package com.lh0811.forge.pserv.uacs.server.repository.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * 开发平台-平台用户表
 *
 * @author
 * @email
 * @date 2024-05-24 15:39:43
 */
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@TableName("pserv_uacs_plate_user")
public class UacsPlateUser implements Serializable {

    @TableId(type = IdType.NONE)
    @Schema(description = "主键")
    private Long id;
    @Schema(description = "平台用户编号")
    private String plateUserNo;
    @Schema(description = "昵称")
    private String nickName;
    @Schema(description = "真实姓名")
    private String realName;
    @Schema(description = "证件号")
    private String idCardNo;
    @Schema(description = "手机号")
    private String phone;
    @Schema(description = "密码")
    private String password;
    @Schema(description = "密码盐")
    private String salt;
    @Schema(description = "生日")
    private String birthday;
    @Schema(description = "性别： 00-保密 01-男 02-女")
    private String gender;
    @Schema(description = "头像")
    private String avatarUrl;
    @Schema(description = "是否实名认证")
    private Boolean realNameFlag;
    @Schema(description = "最后一次登录时间")
    private Date lastLoginTime;
    @Schema(description = "是否可用")
    private Boolean activeFlag;
    @Schema(description = "是否注销")
    private Boolean writeOffFlag;
    @Schema(description = "默认租户id")
    private Long defaultTenantId;
    @Schema(description = "备注")
    private String notes;
    @Schema(description = "创建时间")
    private Date createTime;
    @Schema(description = "创建人")
    private Long createBy;
    @Schema(description = "更新时间")
    private Date updateTime;
    @Schema(description = "更新人")
    private Long updateBy;
    @Schema(description = "拓展信息")
    private String extInfo;

}
